package com.hncgy.xzf.jdapi.domain.product.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 商品属性表
 * </p>
 *
 * @author 不会代码的蜡笔
 * @since 2025-10-31
 */
@Data
@Schema(name = "ProductAttributes对象", description = "商品属性表")
public class ProductAttributes implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description ="属性ID，主键")
    @TableId(value = "attribute_id", type = IdType.AUTO)
    private Integer attributeId;

    @Schema(description ="属性名称")
    private String attributeName;

    @Schema(description ="属性值列表，JSON格式")
    private String attributeValues;

    @Schema(description ="排序序号")
    private Integer sortOrder;

    @Schema(description ="状态：active-启用, inactive-停用")
    private String status;

    @Schema(description ="创建时间")
    private LocalDateTime createdAt;
}
